package com.example.demo.domain;

import com.fasterxml.jackson.annotation.JsonAlias;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.io.Serializable;
import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString
public class Student implements Serializable {

    @JsonProperty("sId")
    private String sId;

    @JsonAlias(value = {"sName","sname123"})
    private String sName;

    @JsonProperty("sb")
    private String sBirth;

    private String sSex;

//    private Score  score;
    private List<Course> courseList;



}
